3.21.72 \(\int \frac {(a+\frac {b}{x^4})^{3/2}}{x^2} \, dx\) [2072]

Optimal. Leaf size=126 \[ -\frac {2 a \sqrt {a+\frac {b}{x^4}}}{7 x}-\frac {\left (a+\frac {b}{x^4}\right )^{3/2}}{7 x}-\frac {2 a^{7/4} \sqrt {\frac {a+\frac {b}{x^4}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )^2}} \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) F\left (2 \cot ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{7 \sqrt [4]{b} \sqrt {a+\frac {b}{x^4}}} \]

[Out]

-1/7*(a+b/x^4)^(3/2)/x-2/7*a*(a+b/x^4)^(1/2)/x-2/7*a^(7/4)*(cos(2*arccot(a^(1/4)*x/b^(1/4)))^2)^(1/2)/cos(2*ar
ccot(a^(1/4)*x/b^(1/4)))*EllipticF(sin(2*arccot(a^(1/4)*x/b^(1/4))),1/2*2^(1/2))*(a^(1/2)+b^(1/2)/x^2)*((a+b/x
^4)/(a^(1/2)+b^(1/2)/x^2)^2)^(1/2)/b^(1/4)/(a+b/x^4)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 126, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {342, 201, 226} \begin {gather*} -\frac {2 a^{7/4} \sqrt {\frac {a+\frac {b}{x^4}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )^2}} \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) F\left (2 \cot ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{7 \sqrt [4]{b} \sqrt {a+\frac {b}{x^4}}}-\frac {2 a \sqrt {a+\frac {b}{x^4}}}{7 x}-\frac {\left (a+\frac {b}{x^4}\right )^{3/2}}{7 x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b/x^4)^(3/2)/x^2,x]

[Out]

(-2*a*Sqrt[a + b/x^4])/(7*x) - (a + b/x^4)^(3/2)/(7*x) - (2*a^(7/4)*Sqrt[(a + b/x^4)/(Sqrt[a] + Sqrt[b]/x^2)^2
]*(Sqrt[a] + Sqrt[b]/x^2)*EllipticF[2*ArcCot[(a^(1/4)*x)/b^(1/4)], 1/2])/(7*b^(1/4)*Sqrt[a + b/x^4])

Rule 201

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[x*((a + b*x^n)^p/(n*p + 1)), x] + Dist[a*n*(p/(n*p + 1)),
 Int[(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && GtQ[p, 0] && (IntegerQ[2*p] || (EqQ[n, 2
] && IntegerQ[4*p]) || (EqQ[n, 2] && IntegerQ[3*p]) || LtQ[Denominator[p + 1/n], Denominator[p]])

Rule 226

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 4]}, Simp[(1 + q^2*x^2)*(Sqrt[(a + b*x^4)/(a*(
1 + q^2*x^2)^2)]/(2*q*Sqrt[a + b*x^4]))*EllipticF[2*ArcTan[q*x], 1/2], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 342

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> -Subst[Int[(a + b/x^n)^p/x^(m + 2), x], x, 1/x] /;
FreeQ[{a, b, p}, x] && ILtQ[n, 0] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {\left (a+\frac {b}{x^4}\right )^{3/2}}{x^2} \, dx &=-\text {Subst}\left (\int \left (a+b x^4\right )^{3/2} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {\left (a+\frac {b}{x^4}\right )^{3/2}}{7 x}-\frac {1}{7} (6 a) \text {Subst}\left (\int \sqrt {a+b x^4} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {2 a \sqrt {a+\frac {b}{x^4}}}{7 x}-\frac {\left (a+\frac {b}{x^4}\right )^{3/2}}{7 x}-\frac {1}{7} \left (4 a^2\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+b x^4}} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {2 a \sqrt {a+\frac {b}{x^4}}}{7 x}-\frac {\left (a+\frac {b}{x^4}\right )^{3/2}}{7 x}-\frac {2 a^{7/4} \sqrt {\frac {a+\frac {b}{x^4}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )^2}} \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) F\left (2 \cot ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{7 \sqrt [4]{b} \sqrt {a+\frac {b}{x^4}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
time = 10.02, size = 52, normalized size = 0.41 \begin {gather*} -\frac {b \sqrt {a+\frac {b}{x^4}} \, _2F_1\left (-\frac {7}{4},-\frac {3}{2};-\frac {3}{4};-\frac {a x^4}{b}\right )}{7 x^5 \sqrt {1+\frac {a x^4}{b}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b/x^4)^(3/2)/x^2,x]

[Out]

-1/7*(b*Sqrt[a + b/x^4]*Hypergeometric2F1[-7/4, -3/2, -3/4, -((a*x^4)/b)])/(x^5*Sqrt[1 + (a*x^4)/b])

________________________________________________________________________________________

Maple [C] Result contains complex when optimal does not.
time = 0.06, size = 157, normalized size = 1.25

method result size
risch \(-\frac {\left (3 a \,x^{4}+b \right ) \sqrt {\frac {a \,x^{4}+b}{x^{4}}}}{7 x^{5}}+\frac {4 a^{2} \sqrt {1-\frac {i \sqrt {a}\, x^{2}}{\sqrt {b}}}\, \sqrt {1+\frac {i \sqrt {a}\, x^{2}}{\sqrt {b}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}, i\right ) \sqrt {\frac {a \,x^{4}+b}{x^{4}}}\, x^{2}}{7 \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}\, \left (a \,x^{4}+b \right )}\) \(117\)
default \(-\frac {\left (\frac {a \,x^{4}+b}{x^{4}}\right )^{\frac {3}{2}} \left (-4 a^{2} \sqrt {-\frac {i \sqrt {a}\, x^{2}-\sqrt {b}}{\sqrt {b}}}\, \sqrt {\frac {i \sqrt {a}\, x^{2}+\sqrt {b}}{\sqrt {b}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}, i\right ) x^{7}+3 \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}\, a^{2} x^{8}+4 \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}\, a b \,x^{4}+\sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}\, b^{2}\right )}{7 x \left (a \,x^{4}+b \right )^{2} \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}}\) \(157\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b/x^4)^(3/2)/x^2,x,method=_RETURNVERBOSE)

[Out]

-1/7*((a*x^4+b)/x^4)^(3/2)*(-4*a^2*(-(I*a^(1/2)*x^2-b^(1/2))/b^(1/2))^(1/2)*((I*a^(1/2)*x^2+b^(1/2))/b^(1/2))^
(1/2)*EllipticF(x*(I*a^(1/2)/b^(1/2))^(1/2),I)*x^7+3*(I*a^(1/2)/b^(1/2))^(1/2)*a^2*x^8+4*(I*a^(1/2)/b^(1/2))^(
1/2)*a*b*x^4+(I*a^(1/2)/b^(1/2))^(1/2)*b^2)/x/(a*x^4+b)^2/(I*a^(1/2)/b^(1/2))^(1/2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b/x^4)^(3/2)/x^2,x, algorithm="maxima")

[Out]

integrate((a + b/x^4)^(3/2)/x^2, x)

________________________________________________________________________________________

Fricas [A]
time = 0.08, size = 58, normalized size = 0.46 \begin {gather*} -\frac {4 \, a \sqrt {b} x^{5} \left (-\frac {a}{b}\right )^{\frac {3}{4}} F(\arcsin \left (x \left (-\frac {a}{b}\right )^{\frac {1}{4}}\right )\,|\,-1) + {\left (3 \, a x^{4} + b\right )} \sqrt {\frac {a x^{4} + b}{x^{4}}}}{7 \, x^{5}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b/x^4)^(3/2)/x^2,x, algorithm="fricas")

[Out]

-1/7*(4*a*sqrt(b)*x^5*(-a/b)^(3/4)*elliptic_f(arcsin(x*(-a/b)^(1/4)), -1) + (3*a*x^4 + b)*sqrt((a*x^4 + b)/x^4
))/x^5

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 0.60, size = 39, normalized size = 0.31 \begin {gather*} - \frac {a^{\frac {3}{2}} \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {3}{2}, \frac {1}{4} \\ \frac {5}{4} \end {matrix}\middle | {\frac {b e^{i \pi }}{a x^{4}}} \right )}}{4 x \Gamma \left (\frac {5}{4}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b/x**4)**(3/2)/x**2,x)

[Out]

-a**(3/2)*gamma(1/4)*hyper((-3/2, 1/4), (5/4,), b*exp_polar(I*pi)/(a*x**4))/(4*x*gamma(5/4))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b/x^4)^(3/2)/x^2,x, algorithm="giac")

[Out]

integrate((a + b/x^4)^(3/2)/x^2, x)

________________________________________________________________________________________

Mupad [B]
time = 1.57, size = 39, normalized size = 0.31 \begin {gather*} -\frac {{\left (a\,x^4+b\right )}^{3/2}\,{{}}_2{\mathrm {F}}_1\left (-\frac {3}{2},\frac {1}{4};\ \frac {5}{4};\ -\frac {b}{a\,x^4}\right )}{x\,{\left (\frac {b}{a}+x^4\right )}^{3/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b/x^4)^(3/2)/x^2,x)

[Out]

-((b + a*x^4)^(3/2)*hypergeom([-3/2, 1/4], 5/4, -b/(a*x^4)))/(x*(b/a + x^4)^(3/2))

________________________________________________________________________________________